import { getAction, postAction } from './manage'

// 在线运营
const getList = (params) => getAction('/vue-admin-template/table/list', params)

// 用户
const login = (params) => postAction('/vue-admin-template/user/login', params)
const logout = (params) => postAction('/vue-admin-template/user/logout', params)
const getInfo = (token) => getAction('/vue-admin-template/user/info', { token })

export { getList, login, logout, getInfo }
